package com.sanqi.work.service;

import java.util.List;
import com.sanqi.work.domain.WorkUserAccount;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 用户账号Service接口
 * 
 * @author duany
 * @date 2025-10-09
 */
public interface IWorkUserAccountService extends IService<WorkUserAccount>
{
    /**
     * 查询用户账号
     * 
     * @param id 用户账号主键
     * @return 用户账号
     */
    public WorkUserAccount selectWorkUserAccountById(String id);

    /**
     * 查询用户账号列表
     * 
     * @param workUserAccount 用户账号
     * @return 用户账号集合
     */
    public List<WorkUserAccount> selectWorkUserAccountList(WorkUserAccount workUserAccount);

    /**
     * 新增用户账号
     * 
     * @param workUserAccount 用户账号
     * @return 结果
     */
    public int insertWorkUserAccount(WorkUserAccount workUserAccount);

    /**
     * 修改用户账号
     * 
     * @param workUserAccount 用户账号
     * @return 结果
     */
    public int updateWorkUserAccount(WorkUserAccount workUserAccount);

    /**
     * 批量删除用户账号
     * 
     * @param ids 需要删除的用户账号主键集合
     * @return 结果
     */
    public int deleteWorkUserAccountByIds(String[] ids);

    /**
     * 删除用户账号信息
     * 
     * @param id 用户账号主键
     * @return 结果
     */
    public int deleteWorkUserAccountById(String id);

    /**
     * @Description 根据员工ID获取员工账号
     * @param userIdList
     * @return
     * Create at: 2025-10-10 10:34:09
     * @author: duany
     * Revision:
     *    2025-10-10 10:34:09 - first revision by duany
     *        
     */
    public List<WorkUserAccount> queryByUserIds(List<String> userIdList);
    /**
     * @Description 根据员工ID获取员工账号
     * @param userIdList
     * @return
     * Create at: 2025-10-10 10:34:09
     * @author: duany
     * Revision:
     *    2025-10-10 10:34:09 - first revision by duany
     *        
     */
    public WorkUserAccount queryAccountByUserId(String userId);
}
